
import java.nio.file.Path;
import java.nio.file.Paths;


public class FileTest {
    public static void main(String[] args) {
        Path inputPath = Paths.get("sally\\bar");
        Path fullPath = inputPath.toAbsolutePath();
        System.out.format("%s%n", fullPath);
    }
}
